package com.tedu;

import lombok.*;

/**
 * Created by IntelliJ IDEA.
 *
 * @author zq
 * @version 1.0
 * @create 2024-08-01 19:55
 * @since jdk1.8
 */
@Data
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Setter
public class Point {
    private int x;
    private int y;
    public int area(){
        return x*y;
    }
    public static int add(int x,int y){
        return x+y;
    }
    public void print(){
        System.out.println("OK");
    }
}
